package com.cx.dao;

import com.cx.entity.CartoonCharacter;
import com.cx.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: CartoonDao
 * @Description:
 * @Author: cx
 * @Date: 2022/10/23 11:10
 **/
@Repository("cartoonDao")
public interface CartoonDao {


// 查询所有用户信息
    @Select("select * from integrate_ssm")
    public List<CartoonCharacter> findAllCartoonCharacter();

    //新增卡通任务信息
    @Insert("insert into integrate_ssm values(#{id},#{nae},#{sex},#{age},#{socia}) ")
    public  void  insertCartoonCharacter(CartoonCharacter character);

    //
}
